﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GolfScoringApplication
{
    public partial class frmGolfCourse : Form
    {
        public frmGolfCourse()
        {
            InitializeComponent();
        }

        private void cmdAddSubCourse_Click(object sender, EventArgs e)
        {
            frmSubCourse objCourse = new frmSubCourse();
            objCourse.ShowDialog(this);

        }

        private void cmdAddPhoneNumber_Click(object sender, EventArgs e)
        {
            frmPhone objPhone = new frmPhone();
            objPhone.LoadFormVariables(this);
            objPhone.ShowDialog(this);
            
        }

        private void cmdAddAddress_Click(object sender, EventArgs e)
        {
            frmAddress objAddress = new frmAddress();
            objAddress.ShowDialog(this);



        }
    }
}
